import cv2 as cv

img = cv.imread('./../resources/miku.jpg')
gray = cv.cvtColor(img, cv.COLOR_BGR2GRAY)
hsv = cv.cvtColor(img, cv.COLOR_BGR2HSV)
rgb = cv.cvtColor(img, cv.COLOR_BGR2RGB)

cv.imshow('img', img)
cv.imshow('gray', gray)
cv.imshow('hsv', hsv)
cv.imshow('rgb', rgb)

cv.imwrite('./../resources/miku_rgb.jpg', rgb)

cv.waitKey(0)
cv.destroyAllWindows()